import React from 'react'
import CIcon from '@coreui/icons-react'
import { cilPencil, cilSpeedometer, cilFile, cilChartLine, cilChart, cilGroup } from '@coreui/icons'
import { CNavItem, CNavTitle } from '@coreui/react'

const _nav = [
  {
    component: CNavItem,
    name: '仪表盘',
    href: '/dashboard',
    icon: <CIcon icon={cilSpeedometer} customClassName="nav-icon" />,
  },
  {
    component: CNavTitle,
    name: '我的课堂',
  },
  {
    component: CNavItem,
    name: '新建课堂',
    href: '/class/createClass',
    icon: <CIcon icon={cilFile} customClassName="nav-icon" />,
  },
  {
    component: CNavItem,
    name: '修改课堂',
    href: '/class/editClass',
    icon: <CIcon icon={cilPencil} customClassName="nav-icon" />,
  },
  {
    component: CNavTitle,
    name: '我的学生',
  },
  {
    component: CNavItem,
    name: '能力分析',
    href: '/myStudents/abilities',
    icon: <CIcon icon={cilChart} customClassName="nav-icon" />,
  },
  {
    component: CNavItem,
    name: '生涯规划',
    href: '/myStudents/careerPlanning',
    icon: <CIcon icon={cilChartLine} customClassName="nav-icon" />,
  },
  {
    component: CNavItem,
    name: '学习伙伴',
    href: '/myStudents/learningPartner',
    icon: <CIcon icon={cilGroup} customClassName="nav-icon" />,
  },
]

export default _nav
